Spaces:
Runtime error
Runtime error
venky2k1
commited on
Commit
·
819eb9b
1
Parent(s):
c51d050
Initial commit for deployment
Browse files- __pycache__/bug_detector.cpython-313.pyc +0 -0
- app.py +1 -1
- requirements.txt +1 -1
__pycache__/bug_detector.cpython-313.pyc
CHANGED
Binary files a/__pycache__/bug_detector.cpython-313.pyc and b/__pycache__/bug_detector.cpython-313.pyc differ
|
|
app.py
CHANGED
@@ -8,7 +8,7 @@ gr.Interface(
|
|
8 |
fn=run_bugfixer,
|
9 |
inputs=gr.Textbox(label="Paste Buggy Code", lines=15),
|
10 |
outputs=gr.Textbox(label="Suggested Fixed Code"),
|
11 |
-
title="
|
12 |
).launch()
|
13 |
from flask import Flask, request, jsonify
|
14 |
from flask_cors import CORS # Fix CORS issue
|
|
|
8 |
fn=run_bugfixer,
|
9 |
inputs=gr.Textbox(label="Paste Buggy Code", lines=15),
|
10 |
outputs=gr.Textbox(label="Suggested Fixed Code"),
|
11 |
+
title="Automated BUg Fixing and Dection"
|
12 |
).launch()
|
13 |
from flask import Flask, request, jsonify
|
14 |
from flask_cors import CORS # Fix CORS issue
|
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
transformers
|
2 |
torch
|
3 |
-
gradio
|
4 |
flask
|
5 |
flask-cors
|
|
|
1 |
transformers
|
2 |
torch
|
3 |
+
gradio==4.44.1
|
4 |
flask
|
5 |
flask-cors
|