Santhosh54321 commited on
Commit
2b3e303
·
verified ·
1 Parent(s): 2c53e0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +40 -11
app.py CHANGED
@@ -105,19 +105,48 @@ def generate_image(image_prompt):
105
  def user_guide():
106
  st.title("User Guide")
107
  st.write("""
108
- ### How to use this app:
 
 
 
109
 
110
- 1. **Input Tamil Text**: You can either select one of the suggested Tamil phrases or input your own.
111
- 2. **Generate Translations**: The app will automatically translate Tamil input to English.
112
- 3. **Generate Educational Content**: Based on the translated text, the app will generate educational content.
113
- 4. **Generate Images**: The app will also generate an image based on the content.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
 
115
- ### Features:
116
- - **Temperature Adjustment**: You can adjust the temperature for content creativity.
117
- - **Token Limit**: Set the maximum number of tokens for content generation.
118
- - **Retries**: If the translation fails, the app will retry automatically.
119
-
120
- Enjoy the multimodal experience with FusionMind!
121
  """)
122
 
123
  # Main Streamlit app
 
105
  def user_guide():
106
  st.title("User Guide")
107
  st.write("""
108
+ ### Welcome to FusionMind Multimodel ---> Your one stop solution for content creation.
109
+
110
+
111
+ ***How to use this app:***
112
 
113
+ 1. **Input Tamil Text**:
114
+ - You can either select one of the suggested Tamil phrases or input your own text. The app primarily focuses on Tamil inputs, but it supports a wide range of other languages as well (see the list below).
115
+
116
+ 2. **Generate Translations**:
117
+ - Once you've input your text, the app will automatically translate it to English. The translation model is a **many-to-one model**, meaning it can take input from various languages and translate it into English.
118
+
119
+ 3. **Generate Educational Content**:
120
+ - After translating the text into English, the app will generate **educational content** based on the translated input. You can adjust the creativity of the content generation using the temperature slider, and control the length of the output with the token limit setting.
121
+
122
+ 4. **Generate Images**:
123
+ - In addition to generating content, the app can also generate an **image** related to the translated content. You don’t need to worry about creating complex image prompts—FusionMind includes an automatic **image prompt generator** that will convert your input into a well-defined image prompt, ensuring better image generation results.
124
+
125
+ ---
126
+
127
+ ### Features:
128
+
129
+ - **Multilingual Translation**:
130
+ - FusionMind supports a **many-to-one translation model**, so you can input text in a wide variety of languages, not just Tamil. Below are the supported languages:
131
+
132
+ - **Arabic (ar_AR)**, **Czech (cs_CZ)**, **German (de_DE)**, **English (en_XX)**, **Spanish (es_XX)**, **Estonian (et_EE)**, **Finnish (fi_FI)**, **French (fr_XX)**, **Gujarati (gu_IN)**, **Hindi (hi_IN)**, **Italian (it_IT)**, **Japanese (ja_XX)**, **Kazakh (kk_KZ)**, **Korean (ko_KR)**, **Lithuanian (lt_LT)**, **Latvian (lv_LV)**, **Burmese (my_MM)**, **Nepali (ne_NP)**, **Dutch (nl_XX)**, **Romanian (ro_RO)**, **Russian (ru_RU)**, **Sinhala (si_LK)**, **Turkish (tr_TR)**, **Vietnamese (vi_VN)**, **Chinese (zh_CN)**, **Afrikaans (af_ZA)**, **Azerbaijani (az_AZ)**, **Bengali (bn_IN)**, **Persian (fa_IR)**, **Hebrew (he_IL)**, **Croatian (hr_HR)**, **Indonesian (id_ID)**, **Georgian (ka_GE)**, **Khmer (km_KH)**, **Macedonian (mk_MK)**, **Malayalam (ml_IN)**, **Mongolian (mn_MN)**, **Marathi (mr_IN)**, **Polish (pl_PL)**, **Pashto (ps_AF)**, **Portuguese (pt_XX)**, **Swedish (sv_SE)**, **Swahili (sw_KE)**, **Tamil (ta_IN)**, **Telugu (te_IN)**, **Thai (th_TH)**, **Tagalog (tl_XX)**, **Ukrainian (uk_UA)**, **Urdu (ur_PK)**, **Xhosa (xh_ZA)**, **Galician (gl_ES)**, **Slovene (sl_SI)**.
133
+
134
+ - **Temperature Adjustment**:
135
+ - You can adjust the **temperature** of the content generation. A **higher temperature** makes the content more creative and varied, while a **lower temperature** generates more focused and deterministic responses.
136
+
137
+ - **Token Limit**:
138
+ - Set the **maximum number of tokens** for content generation. This allows you to control the length of the generated educational content.
139
+
140
+ - **Automatic Retries**:
141
+ - If a translation request fails due to any reason, the app is designed to **automatically retry**, ensuring a smooth experience.
142
+
143
+ - **Auto-Generated Image Prompts**:
144
+ - One of the unique features of FusionMind is the **auto-generated image prompts**. Even if you're not experienced in creating detailed prompts for image generation, the app will take care of this for you. It automatically converts the translated text or content into a well-defined prompt that produces more accurate and high-quality images.
145
+
146
+ ---
147
+
148
+ Enjoy the multimodal experience with **FusionMind** and explore its powerful translation, content generation, and image generation features!
149
 
 
 
 
 
 
 
150
  """)
151
 
152
  # Main Streamlit app