Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -153,7 +153,7 @@ JSON:"""
|
|
153 |
|
154 |
iface_interpret = gr.Interface(
|
155 |
fn=interpret_strategy,
|
156 |
-
inputs=gr.
|
157 |
outputs="text",
|
158 |
title="Strategy Interpreter",
|
159 |
description="Convert trading strategy descriptions into structured JSON format."
|
@@ -162,8 +162,8 @@ iface_interpret = gr.Interface(
|
|
162 |
iface_suggest = gr.Interface(
|
163 |
fn=suggest_strategy,
|
164 |
inputs=[
|
165 |
-
gr.
|
166 |
-
gr.
|
167 |
],
|
168 |
outputs="text",
|
169 |
title="Strategy Suggester",
|
|
|
153 |
|
154 |
iface_interpret = gr.Interface(
|
155 |
fn=interpret_strategy,
|
156 |
+
inputs=gr.Textbox(lines=10, placeholder="Enter your strategy description here..."),
|
157 |
outputs="text",
|
158 |
title="Strategy Interpreter",
|
159 |
description="Convert trading strategy descriptions into structured JSON format."
|
|
|
162 |
iface_suggest = gr.Interface(
|
163 |
fn=suggest_strategy,
|
164 |
inputs=[
|
165 |
+
gr.Textbox(lines=1, placeholder="Enter risk level (e.g., medium)...", label="Risk Level"),
|
166 |
+
gr.Textbox(lines=1, placeholder="Enter market type (e.g., spot)...", label="Market Type")
|
167 |
],
|
168 |
outputs="text",
|
169 |
title="Strategy Suggester",
|