rmaitest commited on
Commit
0151108
·
verified ·
1 Parent(s): 71ba9bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,11 +1,10 @@
1
  import gradio as gr
2
- from transformers import pipeline
3
 
4
  # Replace with the ID of your model on Hugging Face
5
  model_id = "rmaitest/housepricepridiction"
6
 
7
- # Create a pipeline for price prediction
8
- predictor = pipeline("regression", model=model_id)
9
 
10
  def predict(size, bedrooms, age):
11
  """Predicts house price based on input features."""
 
1
  import gradio as gr
2
+
3
 
4
  # Replace with the ID of your model on Hugging Face
5
  model_id = "rmaitest/housepricepridiction"
6
 
7
+
 
8
 
9
  def predict(size, bedrooms, age):
10
  """Predicts house price based on input features."""