Commit
Β·
7e4257e
1
Parent(s):
ad24ba0
update app
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ with gr.Blocks(css=custom_css1) as app:
|
|
| 117 |
)
|
| 118 |
|
| 119 |
with gr.Row():
|
| 120 |
-
with gr.Column(scale=
|
| 121 |
option = gr.Radio(["Enter Text", "Upload CSV"], label="π Choose Input Method", value="Enter Text")
|
| 122 |
|
| 123 |
text_input = gr.Textbox(
|
|
@@ -128,7 +128,7 @@ with gr.Blocks(css=custom_css1) as app:
|
|
| 128 |
|
| 129 |
file_input = gr.File(label="π Upload CSV (Optional)", type="filepath", visible=False)
|
| 130 |
|
| 131 |
-
with gr.Column(scale=
|
| 132 |
gr.Markdown("## Prediction Results") # **Title for Prediction Results**
|
| 133 |
results_output = gr.Markdown(elem_id="results-box", visible=True)
|
| 134 |
download_csv = gr.File(label="π₯ Download Predictions CSV", interactive=False)
|
|
|
|
| 117 |
)
|
| 118 |
|
| 119 |
with gr.Row():
|
| 120 |
+
with gr.Column(scale=3):
|
| 121 |
option = gr.Radio(["Enter Text", "Upload CSV"], label="π Choose Input Method", value="Enter Text")
|
| 122 |
|
| 123 |
text_input = gr.Textbox(
|
|
|
|
| 128 |
|
| 129 |
file_input = gr.File(label="π Upload CSV (Optional)", type="filepath", visible=False)
|
| 130 |
|
| 131 |
+
with gr.Column(scale=3):
|
| 132 |
gr.Markdown("## Prediction Results") # **Title for Prediction Results**
|
| 133 |
results_output = gr.Markdown(elem_id="results-box", visible=True)
|
| 134 |
download_csv = gr.File(label="π₯ Download Predictions CSV", interactive=False)
|