Spaces:
Sleeping
Sleeping
Amitontheweb
commited on
Commit
•
6955e73
1
Parent(s):
9f4247b
Update app.py
Browse files
app.py
CHANGED
@@ -302,7 +302,8 @@ with gr.Blocks() as demo:
|
|
302 |
with gr.Column (scale=0, min_width=200) as Models_Strategy:
|
303 |
|
304 |
model_selected = gr.Radio (["GPT2", "Qwen/Qwen2-0.5B"], label="ML Model", value="GPT2")
|
305 |
-
load_model_button = gr.Button("Load
|
|
|
306 |
strategy_selected = gr.Radio (["Sampling", "Beam Search", "Diversity Beam Search","Contrastive"], label="Search strategy", value = "Sampling", interactive=True)
|
307 |
|
308 |
|
|
|
302 |
with gr.Column (scale=0, min_width=200) as Models_Strategy:
|
303 |
|
304 |
model_selected = gr.Radio (["GPT2", "Qwen/Qwen2-0.5B"], label="ML Model", value="GPT2")
|
305 |
+
load_model_button = gr.Button("Load")
|
306 |
+
gr.Markdown ("""...wait for 10 secs before hitting Generate""")
|
307 |
strategy_selected = gr.Radio (["Sampling", "Beam Search", "Diversity Beam Search","Contrastive"], label="Search strategy", value = "Sampling", interactive=True)
|
308 |
|
309 |
|