Spaces:
Runtime error
Runtime error
Commit ·
29763aa
1
Parent(s): 282ada1
update demo
Browse files- app.py +1 -1
- codedog_demo/callbacks.py +0 -1
app.py
CHANGED
|
@@ -22,7 +22,7 @@ with gr.Blocks(theme="xiaobaiyuan/theme_brief") as demo:
|
|
| 22 |
with gr.Tab(label="Markdown"):
|
| 23 |
custom_content = gr.Markdown(value="")
|
| 24 |
with gr.Tab(label="Raw"):
|
| 25 |
-
custom_content_raw = gr.Textbox(show_label=False)
|
| 26 |
custom_submit.click(
|
| 27 |
request_pr_review,
|
| 28 |
inputs=[custom_pr_url],
|
|
|
|
| 22 |
with gr.Tab(label="Markdown"):
|
| 23 |
custom_content = gr.Markdown(value="")
|
| 24 |
with gr.Tab(label="Raw"):
|
| 25 |
+
custom_content_raw = gr.Textbox(show_label=False, lines=100, max_lines=500)
|
| 26 |
custom_submit.click(
|
| 27 |
request_pr_review,
|
| 28 |
inputs=[custom_pr_url],
|
codedog_demo/callbacks.py
CHANGED
|
@@ -5,7 +5,6 @@ from os import environ as env
|
|
| 5 |
from os import listdir
|
| 6 |
from typing import List
|
| 7 |
|
| 8 |
-
import gradio as gr
|
| 9 |
import requests
|
| 10 |
|
| 11 |
from codedog_demo.github_utils import parse_github_pr_url
|
|
|
|
| 5 |
from os import listdir
|
| 6 |
from typing import List
|
| 7 |
|
|
|
|
| 8 |
import requests
|
| 9 |
|
| 10 |
from codedog_demo.github_utils import parse_github_pr_url
|