Shekswess commited on
Commit
218bcb5
·
1 Parent(s): 2cde806

Smaller image

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -118,7 +118,7 @@ def ui_main():
118
  gr.HTML(
119
  """
120
  <div style="text-align: center;">
121
- <img src="https://raw.githubusercontent.com/Shekswess/synthgenai/refs/heads/main/docs/assets/logo_header.png" alt="Header Image" />
122
  <h1>SynthGenAI Dataset Generator</h1>
123
 
124
  <h2>Overview 🧐</h2>
@@ -142,6 +142,11 @@ def ui_main():
142
  llm_model = gr.Textbox(
143
  label="LLM Model", placeholder="model_provider/model_name", value="huggingface/mistralai/Mistral-7B-Instruct-v0.3"
144
  )
 
 
 
 
 
145
  temperature = gr.Slider(
146
  label="Temperature", minimum=0.0, maximum=1.0, step=0.1, value=0.5
147
  )
@@ -173,12 +178,7 @@ def ui_main():
173
  value="This dataset must be more focused on healthcare implementations of AI, Machine Learning, and Deep Learning.",
174
  )
175
  num_entries = gr.Number(label="Number of Entries To Generated", value=1000)
176
- llm_env_vars = gr.Textbox(
177
- label="LLM Environment Variables",
178
- placeholder="Comma-separated environment variables (e.g., KEY1=VALUE1, KEY2=VALUE2)",
179
- value="HUGGINGFACE_API_KEY=hf_1234566789912345677889, OPENAI_API_KEY=sk-1234566789912345677889",
180
- )
181
-
182
  with gr.Row():
183
  hf_token = gr.Textbox(
184
  label="Hugging Face Token to Save Dataset",
 
118
  gr.HTML(
119
  """
120
  <div style="text-align: center;">
121
+ <img src="https://raw.githubusercontent.com/Shekswess/synthgenai/refs/heads/main/docs/assets/logo_header.png" alt="Header Image" style="width: 50%; margin: 0 auto;" />
122
  <h1>SynthGenAI Dataset Generator</h1>
123
 
124
  <h2>Overview 🧐</h2>
 
142
  llm_model = gr.Textbox(
143
  label="LLM Model", placeholder="model_provider/model_name", value="huggingface/mistralai/Mistral-7B-Instruct-v0.3"
144
  )
145
+ llm_env_vars = gr.Textbox(
146
+ label="LLM Environment Variables",
147
+ placeholder="Comma-separated environment variables (e.g., KEY1=VALUE1, KEY2=VALUE2)",
148
+ value="HUGGINGFACE_API_KEY=hf_1234566789912345677889, OPENAI_API_KEY=sk-1234566789912345677889",
149
+ )
150
  temperature = gr.Slider(
151
  label="Temperature", minimum=0.0, maximum=1.0, step=0.1, value=0.5
152
  )
 
178
  value="This dataset must be more focused on healthcare implementations of AI, Machine Learning, and Deep Learning.",
179
  )
180
  num_entries = gr.Number(label="Number of Entries To Generated", value=1000)
181
+
 
 
 
 
 
182
  with gr.Row():
183
  hf_token = gr.Textbox(
184
  label="Hugging Face Token to Save Dataset",