Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,12 @@ import psychohistory
|
|
| 4 |
|
| 5 |
with gr.Blocks(title="PSYCHOHISTORY") as app:
|
| 6 |
with gr.Tab("Search"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
with gr.Row():
|
| 8 |
txt_search = gr.Textbox(value="Peace in Eurasia in 2027", label="Search Term", scale=5)
|
| 9 |
btn_search = gr.Button("Look", scale=1)
|
|
|
|
| 4 |
|
| 5 |
with gr.Blocks(title="PSYCHOHISTORY") as app:
|
| 6 |
with gr.Tab("Search"):
|
| 7 |
+
with gr.Row():
|
| 8 |
+
model = gr.Radio(["Gemma2", "Zephy7B"], label="Model", info="Select model",scale=2)
|
| 9 |
+
time_direction = gr.Radio(["Past", "Future"], label="Direction", info="Select time direction",scale=2)
|
| 10 |
+
deph = gr.Textbox(value="4", label="Deph", scale=2)
|
| 11 |
+
num_fut = gr.Textbox(value="4", label="Future Steps", scale=2)
|
| 12 |
+
spaces_include = gr.Checkbox(label="Include Spaces", value=False)
|
| 13 |
with gr.Row():
|
| 14 |
txt_search = gr.Textbox(value="Peace in Eurasia in 2027", label="Search Term", scale=5)
|
| 15 |
btn_search = gr.Button("Look", scale=1)
|