Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -122,10 +122,7 @@ def go_to_input():
|
|
| 122 |
|
| 123 |
repo_id_input = gr.Textbox(label="Enter repo IDs (comma or newline separated)", lines=5, placeholder="repo1, repo2\nrepo3")
|
| 124 |
df_output = gr.Dataframe(headers=["repo id", "strength", "weaknesses", "speciality", "relevance rating", "Usecase"],
|
| 125 |
-
datatype=["str", "str", "str", "str", "str", "str"]
|
| 126 |
-
max_rows=10,
|
| 127 |
-
max_cols=6,
|
| 128 |
-
wrap=True
|
| 129 |
)
|
| 130 |
|
| 131 |
with gr.Blocks() as demo:
|
|
@@ -149,10 +146,7 @@ with gr.Blocks() as demo:
|
|
| 149 |
llm_output_txt = gr.Textbox(label="LLM Analysis Output", lines=10)
|
| 150 |
df_display = gr.Dataframe(
|
| 151 |
headers=["repo id", "strength", "weaknesses", "speciality", "relevance rating", "Usecase"],
|
| 152 |
-
datatype=["str", "str", "str", "str", "str", "str"]
|
| 153 |
-
max_rows=10,
|
| 154 |
-
max_cols=6,
|
| 155 |
-
wrap=True
|
| 156 |
)
|
| 157 |
back_btn = gr.Button("Back to Input")
|
| 158 |
|
|
|
|
| 122 |
|
| 123 |
repo_id_input = gr.Textbox(label="Enter repo IDs (comma or newline separated)", lines=5, placeholder="repo1, repo2\nrepo3")
|
| 124 |
df_output = gr.Dataframe(headers=["repo id", "strength", "weaknesses", "speciality", "relevance rating", "Usecase"],
|
| 125 |
+
datatype=["str", "str", "str", "str", "str", "str"]
|
|
|
|
|
|
|
|
|
|
| 126 |
)
|
| 127 |
|
| 128 |
with gr.Blocks() as demo:
|
|
|
|
| 146 |
llm_output_txt = gr.Textbox(label="LLM Analysis Output", lines=10)
|
| 147 |
df_display = gr.Dataframe(
|
| 148 |
headers=["repo id", "strength", "weaknesses", "speciality", "relevance rating", "Usecase"],
|
| 149 |
+
datatype=["str", "str", "str", "str", "str", "str"]
|
|
|
|
|
|
|
|
|
|
| 150 |
)
|
| 151 |
back_btn = gr.Button("Back to Input")
|
| 152 |
|