Spaces:
Runtime error
Runtime error
Added APIs
Browse files
app.py
CHANGED
|
@@ -268,8 +268,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 268 |
with gr.Row():
|
| 269 |
with gr.Column(scale=2):
|
| 270 |
query_input = gr.Textbox(label="Enter News Topic", placeholder="e.g., 'Latest advancements in AI'")
|
| 271 |
-
mongo_uri_input = gr.Textbox(label="MongoDB URI", type="password", placeholder="
|
| 272 |
-
openai_key_input = gr.Textbox(label="OpenAI API Key", type="password", placeholder="
|
| 273 |
submit_button = gr.Button("Generate Report", variant="primary")
|
| 274 |
|
| 275 |
with gr.Column(scale=3):
|
|
|
|
| 268 |
with gr.Row():
|
| 269 |
with gr.Column(scale=2):
|
| 270 |
query_input = gr.Textbox(label="Enter News Topic", placeholder="e.g., 'Latest advancements in AI'")
|
| 271 |
+
mongo_uri_input = gr.Textbox(label="MongoDB URI", type="password", placeholder="mongodb+srv://srinivasa_varahe:SiQZzpCDuENhbnPt@newsdatabase.5u5rsy.mongodb.net")
|
| 272 |
+
openai_key_input = gr.Textbox(label="OpenAI API Key", type="password", placeholder="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")
|
| 273 |
submit_button = gr.Button("Generate Report", variant="primary")
|
| 274 |
|
| 275 |
with gr.Column(scale=3):
|