Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,6 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import transformers
|
| 3 |
-
import torch
|
| 4 |
import os
|
| 5 |
-
from pathlib import Path
|
| 6 |
|
| 7 |
# Ensure your Hugging Face token is set
|
| 8 |
TOKEN = os.getenv('HF_TOKEN')
|
|
@@ -36,5 +34,4 @@ interface = gr.Interface(
|
|
| 36 |
description="Input a code problem and its solution to generate test cases using the Meta-Llama-3.1-8B-Instruct model."
|
| 37 |
)
|
| 38 |
|
| 39 |
-
|
| 40 |
-
interface.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import transformers
|
|
|
|
| 3 |
import os
|
|
|
|
| 4 |
|
| 5 |
# Ensure your Hugging Face token is set
|
| 6 |
TOKEN = os.getenv('HF_TOKEN')
|
|
|
|
| 34 |
description="Input a code problem and its solution to generate test cases using the Meta-Llama-3.1-8B-Instruct model."
|
| 35 |
)
|
| 36 |
|
| 37 |
+
interface.launch()
|
|
|